package com.luo.wheresmytakeaway.service.impl;

import com.luo.wheresmytakeaway.mapper.MerchantMapper;
import com.luo.wheresmytakeaway.pojo.Merchant;
import com.luo.wheresmytakeaway.service.MerchantService;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class MerchantServiceImpl implements MerchantService {


    @Autowired
    private MerchantMapper merchantMapper;
    @Override
    public List<Merchant> getMerchantList() {
        return merchantMapper.getMerchant();
    }
}
